package com.ljkj.blockpay.presenter.inter;

import com.kongzue.baseokhttp.util.JsonMap;
import com.ljkj.blockpay.basedata.BasePresenter;
import com.ljkj.blockpay.basedata.BaseView;
import com.ljkj.blockpay.model.NetModel;
import com.ljkj.blockpay.model.RechargeModel;
import com.ljkj.blockpay.model.UserModel;

import java.util.List;

public interface RechargeInter {
    interface RechargeInterView extends BaseView{
        void showNetAccuracy(List<RechargeModel> modelList);
        void showrecharge(JsonMap jsonMap);
        void createOrderSuccess();
        void SearchCurrencySuccess(JsonMap jsondata);
        //获取订单信息
        void getOrderDetails(JsonMap jsonMap);
        //跳转详情页面
        void getOrderDetails2(JsonMap jsonMap);
    }

    interface RechargeInterPresenter extends BasePresenter{

        void getNetAccuracy(Integer orderType);
        void getRecharge(String currencyType, String networkType);
        void createOrder(Integer orderType, String preOrderId,String tradePwd);
        void SearchCurrencyBalance(String currencyType, Integer orderType);
        void preConfirm(String bizToken,Number originAmount, Integer orderType,String networkType,String targetAddress,String originCurrency, String targetCurrency, String remark);
    }
}
